package net.lijingye.education.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by LijingYe on 2016/4/4.
 */
@Entity
@Table(name = "status_file")
public class TweetFile implements Serializable {
    @Id
    @Column(name = "statusId")
    private String tweetId;

    @Id
    @Column(name = "path")
    private String path;

    public TweetFile() {
    }

    public TweetFile(String tweetId, String path) {
        this.tweetId = tweetId;
        this.path = path;
    }

    public String getTweetId() {
        return tweetId;
    }

    public void setTweetId(String tweetId) {
        this.tweetId = tweetId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}